#!/usr/bin/env node

const fs = require('fs')
const file = process.argv[2] ?? __filename;

try {
    const data = fs.readFileSync(file, 'utf8');
    console.log(data);
  } catch (err) {
    console.error('Error reading file:', err.message);
  }